package com.wps.wdztv6.common;

public enum ResultEnum {
    SUCCESS(0, "成功"),
    BAD_REQUEST(400, "参数校验不通过"),

    ERROR999(999, "网络异常!"),
    ERROR(500, "失败");
    private final int code;
    private final String describe;

    ResultEnum(int code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    public int getCode() {
        return code;
    }

    public String getDescribe() {
        return describe;
    }
}
